package lesson.teacher;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDao {


    public void addTeacher(Teacher teacher);

    void updateTeacher(Teacher teacher);

    public boolean checkExist(@Param("teacher") Teacher teacher);

    public List<Teacher> list(@Param("keywords") String keywords);


    public void delTeacher(Integer id);

    Teacher getById(Integer id);

}
